package com.ruoyi.dzzh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 短信群发对象 dzzh_phone
 * 
 * @author cjt
 * @date 2022-05-19
 */
public class DzzhPhone extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人员ID */
    private Long phoneId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String phoneName;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;

    /** 辖区 */
    @Excel(name = "辖区")
    private String phoneXq;

    /** 单位 */
    @Excel(name = "单位")
    private String phoneDept;

    /** 职务 */
    @Excel(name = "职务")
    private String phoneDuty;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setPhoneId(Long phoneId) 
    {
        this.phoneId = phoneId;
    }

    public Long getPhoneId() 
    {
        return phoneId;
    }
    public void setPhoneName(String phoneName) 
    {
        this.phoneName = phoneName;
    }

    public String getPhoneName() 
    {
        return phoneName;
    }
    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }
    public void setPhoneXq(String phoneXq) 
    {
        this.phoneXq = phoneXq;
    }

    public String getPhoneXq() 
    {
        return phoneXq;
    }
    public void setPhoneDept(String phoneDept) 
    {
        this.phoneDept = phoneDept;
    }

    public String getPhoneDept() 
    {
        return phoneDept;
    }
    public void setPhoneDuty(String phoneDuty) 
    {
        this.phoneDuty = phoneDuty;
    }

    public String getPhoneDuty() 
    {
        return phoneDuty;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("phoneId", getPhoneId())
            .append("phoneName", getPhoneName())
            .append("phoneNumber", getPhoneNumber())
            .append("phoneXq", getPhoneXq())
            .append("phoneDept", getPhoneDept())
            .append("phoneDuty", getPhoneDuty())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
